
#ifndef XBEEREQUEST_H
#define XBEEREQUEST_H

#include "XBeeMessage.h"

const char REQ_AT_LOCAL = 0x08;
const char REQ_AT_REMOTE = 0x17;
const char REQ_TX_16BIT = 0x01;
const char REQ_TX_64BIT = 0x00;

class XBeeRequest : public XBeeMessage {
public:
    XBeeRequest(char, char, const char*, int);
    ~XBeeRequest();

    int getLength();
    char* getFullMessage();
    char calcChecksum();
    char* buildRequest();
};

#endif
